#ifndef SRIFORCESENSORDLL_GLOBAL_H
#define SRIFORCESENSORDLL_GLOBAL_H

#include <QtCore/qglobal.h>

#if defined(SRIFORCESENSORDLL_LIBRARY)
#  define SRIFORCESENSORDLLSHARED_EXPORT Q_DECL_EXPORT
#else
#  define SRIFORCESENSORDLLSHARED_EXPORT Q_DECL_IMPORT
#endif

class SRIFORCESENSORDLLSHARED_EXPORT SRIForceSensorDLL{
public:
    SRIForceSensorDLL(){}
    ~SRIForceSensorDLL(){}
    virtual short ForceSensorConnect(int port) = 0;
    virtual short ForceSensorLoopRun() = 0;
    virtual short ForceSensorZeroDeal() = 0;
    virtual short ReadForceSensorData(double (&Data)[6]) = 0;
};

extern "C" SRIFORCESENSORDLLSHARED_EXPORT SRIForceSensorDLL* GetSRIForceSensorInstance();

#endif // SRIFORCESENSORDLL_GLOBAL_H
